class CreateStories < ActiveRecord::Migration
  def self.up
    create_table :stories do |t|
      t.column :author_id, :integer
      t.column :title, :string
      t.column :issue_id, :integer
      t.column :page, :integer
      t.column :page_count, :integer
      t.column :summary, :text
      t.column :story_type_id, :integer
    end
  end

  def self.down
    drop_table :stories
  end
end
